From d9b29851ddccc907f71f1ae662e57f2cd7c7dc71 Mon Sep 17 00:00:00 2001 From: Vincent Jacques Date: Fri, 22 Mar 2013 00:33:13 +0100 Subject: [PATCH] Fix tests for Python 2.5 --- github/tests/Framework.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/github/tests/Framework.py b/github/tests/Framework.py index a70b9e52..35176e3b 100644 --- a/github/tests/Framework.py +++ b/github/tests/Framework.py @@ -18,7 +18,6 @@ import sys import unittest import httplib import traceback -import urlparse import github @@ -148,7 +147,7 @@ class ReplayingConnection: return splitedUrl self.__testCase.assertEqual(len(splitedUrl), 2) base, qs = splitedUrl - return (base, urlparse.parse_qs(qs)) + return (base, sorted(qs.split("&"))) def getresponse(self): status = int(readLine(self.__file))