summaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_resources.py
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-08-20 04:37:32 +0700
committerstepshal <nessento@openmailbox.org>2016-08-20 04:37:32 +0700
commit08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1 (patch)
treebf8c8b397156f7fc81b09b43fbbe7435280a75a2 /pkg_resources/tests/test_resources.py
parentc296634d44de4a9715d09e4773b73b2d233fbbc4 (diff)
downloadpython-setuptools-git-08511f5fdfe04a8ea6e3ae73e086e8a29a0a5cd1.tar.gz
Fix quantity of blank lines after code object, class of function definition.
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
-rw-r--r--pkg_resources/tests/test_resources.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index 1d663b83..2ed56233 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -34,6 +34,7 @@ class Metadata(pkg_resources.EmptyProvider):
dist_from_fn = pkg_resources.Distribution.from_filename
+
class TestDistro:
def testCollection(self):
@@ -294,6 +295,7 @@ class TestDistro:
class TestWorkingSet:
+
def test_find_conflicting(self):
ws = WorkingSet([])
Foo = Distribution.from_filename("/foo_dir/Foo-1.2.egg")
@@ -380,6 +382,7 @@ class TestEntryPoints:
assert ep.name == 'html+mako'
reject_specs = "foo", "x=a:b:c", "q=x/na", "fez=pish:tush-z", "x=f[a]>2"
+
@pytest.mark.parametrize("reject_spec", reject_specs)
def test_reject_spec(self, reject_spec):
with pytest.raises(ValueError):
@@ -434,6 +437,7 @@ class TestEntryPoints:
with pytest.raises(ValueError):
EntryPoint.parse_map(self.submap_str)
+
class TestRequirements:
def testBasics(self):