File: python3.12.diff

package info (click to toggle)
python-sure 2.0.1%2Bgit.2023.02.06.3aef950b7c-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 744 kB
  • sloc: python: 3,512; makefile: 255; sh: 12
file content (12 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
--- a/tests/test_old_api.py
+++ b/tests/test_old_api.py
@@ -24,7 +24,8 @@ import sure
 from sure.deprecated import that
 from sure.magic import is_cpython
 from sure import VariablesBag, expect
-from nose.tools import assert_equals, assert_raises
+from nose.tools import assert_equal as assert_equals
+from nose.tools import assert_raises
 from sure.compat import compat_repr, safe_repr, text_type_name