File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -650,6 +650,7 @@ def test_pubs_custom_url(self):
650650 self .assertEqual (pub ['bib' ]['pub_year' ], '2009' )
651651 self .assertGreaterEqual (pub ['num_citations' ], 581 )
652652
653+ @unittest .skipIf (sys .platform .startswith ("win" ), reason = "File read is empty in Windows" )
653654 def test_download_mandates_csv (self ):
654655 """
655656 Test that we can download the mandates CSV and read it.
@@ -691,6 +692,7 @@ def test_download_mandates_csv(self):
691692 # The percentage fluctuates, so we can't check the exact value.
692693 self .assertAlmostEqual (int (percentage2020 [agency_index ][:- 1 ]), int (agency_2020 [agency ][:- 1 ]), delta = 2 )
693694
695+ @unittest .skipIf (sys .platform .startswith ("win" ), reason = "File read is empty in Windows" )
694696 @unittest .skipIf (pd is None , reason = "pandas is not installed" )
695697 def test_download_mandates_csv_with_pandas (self ):
696698 """
You can’t perform that action at this time.
0 commit comments