diff options
| author | Damien George | 2020-02-04 18:25:34 +1100 |
|---|---|---|
| committer | Damien George | 2020-02-04 18:25:34 +1100 |
| commit | 69b415f7458c135375a6a37b77c5eb87b29ebb8d (patch) | |
| tree | a13d4730a996fd49f33b32915ecc89a6e36fb2e8 /tests/cpydiff | |
| parent | ff9a61b5a82a56f5f8811815f943b575eb419790 (diff) | |
tests: Move CPy diff test to real test now that subclass equality works.
Testing for equality of subclassed strings now works, thanks to commit
3aab54bf434e7f025a91ea05052f1bac439fad8c
Diffstat (limited to 'tests/cpydiff')
| -rw-r--r-- | tests/cpydiff/types_str_subclassequality.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/cpydiff/types_str_subclassequality.py b/tests/cpydiff/types_str_subclassequality.py deleted file mode 100644 index 8aec1ea78..000000000 --- a/tests/cpydiff/types_str_subclassequality.py +++ /dev/null @@ -1,11 +0,0 @@ -""" -categories: Types,str -description: Instance of a subclass of str cannot be compared for equality with an instance of a str -cause: Unknown -workaround: Unknown -""" -class S(str): - pass - -s = S('hello') -print(s == 'hello') |
