test: use `#nmigen:` magic comment instead of monkey patch.
authorwhitequark <whitequark@whitequark.org>
Sat, 26 Oct 2019 06:36:54 +0000 (06:36 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 26 Oct 2019 06:37:08 +0000 (06:37 +0000)
commit75d0fcd639ae2e7913401c08b72e9270b196390b
tree4a596906aa4f3db7868c1b40746ea22642baddfe
parent9786d0c0e3684ff9e4ebcd923fb7db1067c0635a
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.
nmigen/hdl/mem.py
nmigen/hdl/xfrm.py
nmigen/test/__init__.py
nmigen/test/compat/test_coding.py
nmigen/test/test_build_res.py
nmigen/test/test_hdl_dsl.py
nmigen/test/test_hdl_ir.py
nmigen/test/test_hdl_mem.py
nmigen/test/test_hdl_xfrm.py
nmigen/test/test_lib_cdc.py
nmigen/test/test_lib_fifo.py