Skip to content

Commit 69ab458

Browse files
authored
Merge pull request JuliaGraphics#124 from tkelman/nopkgdir
Use dirname(@__FILE__) instead of Pkg.dir
2 parents 0ad875d + 9348aba commit 69ab458

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ os:
44
julia:
55
- 0.3
66
- 0.4
7+
- 0.5
78
- nightly
89
notifications:
910
email: false

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ end
132132
bind(b, "command", cb)
133133
tcl(b, "invoke")
134134
@assert ctr == 2
135-
img = Image(Pkg.dir("Tk", "examples", "weather-overcast.gif"))
135+
img = Image(joinpath(dirname(@__FILE__), "..", "examples", "weather-overcast.gif"))
136136
map(u-> configure(u, image=img, compound="left"), (l,b))
137137
destroy(w)
138138

0 commit comments

Comments
 (0)