Skip to content

Commit

Permalink
fix pylint disable=protected-access
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Apr 14, 2019
1 parent af8175a commit 983be6a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vunit/test/unit/test_ghdl_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ def test_elaborate_e_project(self):
config = Configuration("name", design_unit, sim_options={"ghdl.elab_e": True})

simif = GHDLInterface(prefix="prefix", output_path="")
simif._vhdl_standard = "2008"
simif._project = Project()
simif._project.add_library("lib", "lib_path")
simif._vhdl_standard = "2008" # pylint: disable=protected-access
simif._project = Project() # pylint: disable=protected-access
simif._project.add_library("lib", "lib_path") # pylint: disable=protected-access

self.assertEqual(
simif._get_command(config, "output_path/ghdl", True),
simif._get_command(config, "output_path/ghdl", True), # pylint: disable=protected-access
[
join("prefix", 'ghdl'),
'-e',
Expand Down

0 comments on commit 983be6a

Please sign in to comment.