test: use `#nmigen:` magic comment instead of monkey patch.
authorwhitequark <cz@m-labs.hk>
Sat, 26 Oct 2019 06:36:54 +0000 (06:36 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 26 Oct 2019 06:37:08 +0000 (06:37 +0000)
commitf449f12ab92da4e2dcdaef816ba605d3705ad2ee
tree4a596906aa4f3db7868c1b40746ea22642baddfe
parent6caed6ce0504e284b2cfefdb50ffbfd4ff4de53a
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