test: use #nmigen: magic comment instead of monkey patch.

Also, fix missing and incorrect src_loc_at arguments where
appropriate so the testsuite passes without warnings.
This commit is contained in:
whitequark 2019-10-26 06:36:54 +00:00
parent 9786d0c0e3
commit 75d0fcd639
11 changed files with 35 additions and 24 deletions

View file

@ -1,3 +1,5 @@
# nmigen: UnusedElaboratable=no
import unittest
from ...compat import *