Skip to content

Commit 9159a22

Browse files
committed
version bump, add directory dependency only to tests, typo
1 parent 4a1b8c7 commit 9159a22

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

matplotlib.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: matplotlib
2-
version: 0.7.2
2+
version: 0.7.3
33
synopsis: Bindings to Matplotlib; a Python plotting library
44
description:
55
Matplotlib is probably the most full featured plotting library out there.
@@ -45,6 +45,7 @@ test-suite matplotlib-test
4545
, tasty-hunit
4646
, tasty-expected-failure
4747
, tasty-golden
48+
, directory
4849
, bytestring
4950
, process
5051
, temporary

test/Spec.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ pdfBivariateNormal x y sigmax sigmay mux muy sigmaxy =
103103
-- * Tests
104104

105105
main = do
106-
createDirectoryIfMissing "/tmp/imgs/"
106+
createDirectoryIfMissing False "/tmp/imgs/"
107107
defaultMain $ tests "All tests" testPlot
108108

109109
main' = do
110-
createDirectoryIfMissing "/tmp/imgs/"
110+
createDirectoryIfMissing False "/tmp/imgs/"
111111
defaultMain $ tests "Golden tests" testPlotGolden
112112

113113
main'' = do
114-
createDirectoryIfMissing "/tmp/imgs/"
114+
createDirectoryIfMissing False "/tmp/imgs/"
115115
defaultMain $ testGroup "All tests" [tests "Execution tests" testPlot
116116
, toneDownTests "Unreliable across machines" $ tests "Golden tests" testPlotGolden]
117117

0 commit comments

Comments
 (0)