diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-18 21:47:45 +0200 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-19 20:32:26 +0200 |
| commit | 6c83c3de66832a0273ac9af0ddcf5bf3a0cb7499 (patch) | |
| tree | 33006f3bdb4ae1dc269801e80638a3035c1b7b8b | |
| parent | bf82e4633e744508e92f85f4a23fdc164dea8959 (diff) | |
| download | astroid-git-6c83c3de66832a0273ac9af0ddcf5bf3a0cb7499.tar.gz | |
Fix a yoda constant in unittest_regrtest.py
| -rw-r--r-- | tests/unittest_regrtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittest_regrtest.py b/tests/unittest_regrtest.py index 3337b09b..cc2e4e48 100644 --- a/tests/unittest_regrtest.py +++ b/tests/unittest_regrtest.py @@ -352,7 +352,7 @@ def test_crash_in_dunder_inference_prevented(): delitem #@ """ inferred = next(extract_node(code).infer()) - assert "builtins.dict.__delitem__" == inferred.qname() + assert inferred.qname() == "builtins.dict.__delitem__" if __name__ == "__main__": |
