An open API service indexing awesome lists of open source software.

https://github.com/brendan0powers/memestra_testcase


https://github.com/brendan0powers/memestra_testcase

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Memestra Testcase

**versions:**
```
beniget 0.3.0
gast 0.4.0
memestra 0.1.2
```

The module `testimport` has two classes, `Test` and `Foo`.
`Test` is deprecated, `Foo` is not.
When importing using `*`, both classes are marked as deprecated.
When only `Test` should be.
If the classes are imported by name, it works as expected.

**output:**
```
$ memestra test.py
Foo used at test.py:4:5 - This is deprecated
Test used at test.py:3:5 - This is deprecated
```

**expected output:**
```
$ memestra test.py
Test used at test.py:3:5 - This is deprecated
```