From 028807850f1d1277b57a800632da0413e743b0b6 Mon Sep 17 00:00:00 2001 From: zhoumingzhen Date: Sun, 28 Jun 2020 17:11:22 +0800 Subject: [PATCH 1/2] some tests --- CONTRIBUTING.md | 2 +- torchtext/utils.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19bd6a8fb3..c70e77aa91 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,4 +28,4 @@ outlined on that page and do not file a public issue. ## License By contributing to text, you agree that your contributions will be licensed -under the LICENSE file in the root directory of this source tree. \ No newline at end of file +under the LICENSE file in the root directory of this source tree. diff --git a/torchtext/utils.py b/torchtext/utils.py index d8348e840b..6cb822e8b7 100644 --- a/torchtext/utils.py +++ b/torchtext/utils.py @@ -1,12 +1,12 @@ +import os +import sys import requests import csv import hashlib from tqdm import tqdm -import os import tarfile import logging import re -import sys import zipfile import gzip From b75df02d1aab23c58e35ba33069a52053a643405 Mon Sep 17 00:00:00 2001 From: zhoumingzhen Date: Sun, 28 Jun 2020 17:57:22 +0800 Subject: [PATCH 2/2] add some diff --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index d881612590..bece71b02a 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,3 @@ [pytest] testpaths = test/ -python_paths = ./ \ No newline at end of file +python_paths = ./