We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52cef9f commit 6983428Copy full SHA for 6983428
1 file changed
bpython/test/test_import_not_cyclical.py
@@ -57,19 +57,18 @@ def setUp(self):
57
)
58
59
self.foo = list(find_modules(os.path.abspath(import_test_folder)))
60
- self.counter = 0
61
self.filepaths = [
62
"Left",
63
"Level0.Level1.Level2",
64
"Level0.Level1",
65
"Level0",
66
- "Right",
+ "Right"
67
]
68
69
def test_simple_symbolic_link_loop(self):
70
for thing in self.foo:
71
- self.assertEqual(thing, self.filepaths[self.counter])
72
- self.counter = self.counter + 1
+ self.assertTrue(thing in self.filepaths)
+ self.filepaths.remove(thing)
73
74
75
if __name__ == "__main__":
0 commit comments