File: SyntaxWarning.patch

package info (click to toggle)
python-cytoolz 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 588 kB
  • sloc: python: 3,913; makefile: 34
file content (8 lines) | stat: -rw-r--r-- 338 bytes parent folder | download
1
2
3
4
5
6
7
8
--- a/cytoolz/tests/test_inspect_args.py
+++ b/cytoolz/tests/test_inspect_args.py
@@ -503,4 +503,4 @@
         _sigs.signatures[Wrapped] = (_sigs.expand_sig((0, lambda func: None)),)
         assert num_required_args(Wrapped) == 1
     else:
-        assert num_required_args(Wrapped) is 1
+        assert num_required_args(Wrapped) == 1