-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from 15r10nk/use-pytest
Use only pytest
- Loading branch information
Showing
173 changed files
with
425,314 additions
and
455,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from .utils import tester | ||
|
||
# tester calls tested with test_tester at global scope | ||
|
||
assert tester([1, 2, 3]) == [1, 2, 3] | ||
|
||
assert tester.asd is tester | ||
assert tester[1 + 2] is tester | ||
assert tester**4 is tester | ||
assert tester * 3 is tester | ||
assert tester - 2 is tester | ||
assert tester + 1 is tester | ||
assert -tester is +tester is ~tester is tester | ||
assert (tester < 7) is tester | ||
assert (tester >= 78) is tester | ||
assert (tester != 79) is tester | ||
# assert (5 != tester != 6) is tester | ||
assert tester.foo(45, False) == 45 | ||
|
||
assert (tester or 234) == 234 | ||
assert (tester and 1123) is tester |
Oops, something went wrong.